package com.kgc.store.remote;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.store.pojo.InStoreDetail;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

public interface InStoreDetailRemote {

    @RequestMapping("getInStoreDetailList")
    @ResponseBody
    ResponseMsg getInStoreDetailList(@RequestParam("inStoreCode") String inStoreCode);

    @RequestMapping("delInStoreDetail")
    @ResponseBody
    ResponseMsg delInStoreDetail(@RequestParam("id") Integer id);

    @RequestMapping("addInStoreDetail")
    @ResponseBody
    ResponseMsg addInStoreDetail(@RequestBody InStoreDetail inStoreDetail);
}
